$OpenBSD: patch-lib_tls_mosq_c,v 1.1.1.1 2015/05/19 19:13:39 edd Exp $
--- lib/tls_mosq.c.orig	Sun May 10 12:11:20 2015
+++ lib/tls_mosq.c	Sun May 10 12:11:31 2015
@@ -20,6 +20,7 @@ Contributors:
 #  include <winsock2.h>
 #  include <ws2tcpip.h>
 #else
+#  include <sys/socket.h>
 #  include <arpa/inet.h>
 #endif
 
